home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
nivb
/
nwsap.bas
< prev
next >
Wrap
BASIC Source File
|
1995-05-09
|
897b
|
23 lines
'NWSAP.BAS NetWare Service Advertising Protocol Interface for Visual Basic For Windows
'Version 1.0
'Novell Systems Research Department, Novell, Inc.
'Copyright (c) 1993, Novell, Inc.
'This interface is not supported through Novell's regular
'support channels. See README.TXT for more information.
Type SAP
header As IPXHeader
responseType As Integer
serverType As Integer
serverName As String * 48
network As Long
node As NodeAddress
socket As Integer
interveningNetworks As Integer
End Type
Declare Function AdvertiseService Lib "NWIPXSPX.DLL" (ByVal serverType%, ByVal serverName$, serverSocket%) As Integer
Declare Function QueryServices Lib "NWIPXSPX.DLL" (ByVal queryType%, ByVal serverType%, ByVal returnSize%, serviceBuffer As SAP) As Integer
Declare Function ShutdownSAP Lib "NWIPXSPX.DLL" (ByVal serverName$) As Integer